import java.util.Scanner;

public class discount {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        System.out.println("请输入你是否是会员：");
        System.out.println("请输入商品价格:");
        String VIP=scanner.next();
        int price=scanner.nextInt();
        if(VIP.equals("是")&& price>=100){
            System.out.println("价格是"+price*0.8);
        }else if (VIP.equals("是")&&price<100){
            System.out.println("价格是："+price*0.9);
        }else if (VIP.equals("不是")&&price>=100){
            System.out.println("价格是："+price*0.9);
        }else {
            System.out.println("价格是："+price);
        }

    }
}
